package com.sss.ordermodel.dao;

import com.sss.ordermodel.entities.OrderSss;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sss.ordermodel.vo.OrderVO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author sss
 * @since 2020-04-06
 */
public interface IOrderSssDao extends BaseMapper<OrderSss> {
    Integer saveOrder(@Param("order") OrderVO orderVO);

    List<OrderSss> getOrderById(@Param("orderId") Integer orderId);

}
